<div class="gist-contents">
  <h2><%= h(gist.title) %></h2>
  <p class="gist""><%= h(gist.result) %> <span class="citation">(<%= link_to 'source', gist.citation.url %>)</span></p>
  <p>
	<span class="contributor">By: <%= link_to(gist.user.login, gist.user) unless gist.user.nil? %></span>
    <span class="gist-tags">Tagged: <%= gist.tags.collect{|t| link_to(h(t.name), t)}.join(' ') %></span>
    <% if defined?(include_admin) && include_admin && is_gistr_creator?(current_user, gist) %>
      <span class="admin-links"><%= link_to('edit', edit_gist_path(gist)) %></span>
    <% end %>
  </p>
</div>